﻿
var io = require('socket.io').listen(8044);

io.sockets.on('connection', function (socket) {
  socket.emit('news', { hello: 'world' });
  socket.on('my other event', function (data) {
     console.log("-------" + data.my);
  });
});
